// test all type
setTimeout(() => {
    console.log(window._$tw?.getBrowserId, "window._$tw.getBrowserId");
    console.log(asdfasdfasdf);
  }, 2000);
  
  setTimeout(() => {
    new Promise((resolve, reject) => {
      resolve(abcd);
    });
  }, 3000);
  
  setTimeout(() => {
    fetch("http://localhost:3004/log/loading.gif", {
      method: "POST",
      headers: {
        "content-type": "application/json",
      },
      body: JSON.stringify({ dddd }), // data信息 就是 onerror 监听得到的数据
    })
      .then(() => {
        console.log("success");
      })
      .catch((error) => {
        console.log(error, "ajax error");
      });
  }, 4000);